
#import <UIKit/UIKit.h>

@interface PywResourceUtils : NSObject

+ (PywResourceUtils *)manger;

/**
 * 从PywBundle.bundle中获取指定名称的png图片
 */
- (UIImage *)image:(NSString *)name;

/**
 * 从PywBundle.bundle中获取指定名称和类型的图片
 */
- (UIImage *)image:(NSString *)name type:(NSString *)type;

/**
 * 加载html
 */
- (NSString *)html:(NSString *)name baseURL:(NSURL **)baseURL;

- (NSData *)file:(NSString *)name type:(NSString *)type;
/**
 *  取boudle的资源文件
 */
- (id)anyObjct:(NSString *)name type:(NSString *)type;

/** FileOperation */
- (NSString *)getLang:(NSString *)key;

@end
